package com.ktjy.pojo;

import java.util.Date;

/**
 * @author lihanzhui
 * @version 1.0
 * @date 2025/6/10 下午5:08
 */
public class Jianda {
    private Integer id;
    private String name;
    private double price;
    private Date time;

    public Jianda() {
    }

    public Jianda(Integer id, String name, double price, Date time) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Jianda{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", time=" + time +
                "}\n";
    }
}
